* lisp/nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 7 Oct 2013 13:54:48 +0000 (09:54 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 7 Oct 2013 13:54:48 +0000 (09:54 -0400)
commit08d63ca93efe2bcd4b985427b28e858474f094d6
treea4f55aab9ae44ea3661113bf0209bf0ef7711e42
parentf7f9c7230a8ba41cbef326a3d0e92d02d4145d3e
* lisp/nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
(font-lock-beg, font-lock-end): Move before first use.
(nxml-mode): Use syntax-propertize-function.
(nxml-after-change, nxml-after-change1): Adjust accordingly.
(nxml-extend-after-change-region): Remove.
* lisp/nxml/nxml-ns.el: Use lexical-binding.
(nxml-ns-save): Use `declare'.
(nxml-ns-prefixes-for): Avoid add-to-list.
* lisp/nxml/nxml-util.el: Use lexical-binding.
(nxml-with-degradation-on-error, nxml-with-invisible-motion):
Use `declare'.
* lisp/nxml/rng-match.el: Use lexical-binding.
(rng--ipattern): Use cl-defstruct.
(rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
(rng-cons-group-after, rng-subst-group-after)
(rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
Use closures instead of `(lambda...).
* lisp/nxml/xmltok.el: Use lexical-binding.
(xmltok-save): Use `declare'.
(xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
lisp/ChangeLog
lisp/nxml/nxml-mode.el
lisp/nxml/nxml-ns.el
lisp/nxml/nxml-util.el
lisp/nxml/rng-match.el
lisp/nxml/xmltok.el